package com.service;


import com.pojo.dto.Message;
import com.pojo.vo.CVideoVo;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 视频的存储与取出
 */

public interface CVideoService {
    Message<CVideoVo> add(CVideoVo cVideoVo);

    Message<List<CVideoVo>> videoList();

    Message<List<CVideoVo>> videoListByUser(CVideoVo cVideoVo);

    Message<CVideoVo> selectOneVideo(CVideoVo cVideoVo);

    Message<CVideoVo> updateVideo(CVideoVo cVideoVo);

    Message<String> deleteVideo(CVideoVo cVideoVo);

    Message<String> deleteVideoList(List<CVideoVo> videos);
}
